package com.one.common.common.stateview.item;

import com.one.common.view.multitytype.adapter.BaseItem;

/**
 * Author: zhulunjun
 * Email: zhulunjun@qq.com
 * CreateDate: 2018/12/17 19:58
 * Description：错误视图
 **/
public class ErrorItem extends BaseItem {
    private String errorStr;
    private int errorRes = -1;

    public ErrorItem(String errorStr, int errorRes) {
        this.errorStr = errorStr;
        this.errorRes = errorRes;
    }

    public ErrorItem(String errorStr) {
        this.errorStr = errorStr;
    }

    public String getErrorStr() {
        return errorStr;
    }

    public void setErrorStr(String errorStr) {
        this.errorStr = errorStr;
    }

    public int getErrorRes() {
        return errorRes;
    }

    public void setErrorRes(int errorRes) {
        this.errorRes = errorRes;
    }
}
